//
//
//
//
//
//
//
//
//
//
//
import flatButton from '../flatButton'
import {getZIndex} from '../internal/popup/utils'
import clickoutside from '../internal/clickoutside'
export default {
name: 'mu-snackbar',
props: {
action: {
type: String
},
actionColor: {
type: String
},
message: {
type: String
}
},
data () {
return {
zIndex: getZIndex()
}
},
methods: {
clickOutSide () {
this.$emit('close', 'clickOutSide')
},
handleActionClick () {
this.$emit('actionClick')
}
},
components: {
'flat-button': flatButton
},
directives: {
clickoutside
}
}
|